#!/bin/sh
aclocal

automake --add-missing

if which libtoolize &> /dev/null; then
    libtoolize --force
elif which glibtoolize &> /dev/null; then
    glibtoolize --force
else
    echo "Cannot find libtoolize"
    exit 1
fi

autoreconf

